package com.hmily.dubbo.provider.spi.aop;

import org.apache.dubbo.common.extension.ExtensionLoader;

/**
 * <h1>测试dubbo aop 的类。</h1>
 *
 * @author hmilyylimh
 * ^_^
 * @version 0.0.1
 * ^_^
 * @date 2021-11-14
 */
public class TestDubboAopAction {

    public static void main(String[] args) {
        ExtensionLoader<NameService> loader = ExtensionLoader.getExtensionLoader(NameService.class);

        NameService extension = loader.getExtension("nacos");

        System.out.println(extension.getName("dubbo"));
    }
}